<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link href="../lib/metro.css" rel="stylesheet">
    <link href="../lib/icons.css" rel="stylesheet">

    <title>Test Dropdown - Metro UI :: Popular HTML, CSS and JS library</title>

</head>
<body class="m4-cloak">
<div class="container">
    <h1>Dropdown test page</h1>

<!--    <div class="example">-->
<!--        <button class="button" id="dropdown_toggle_1">Drop block 1</button>-->
<!--        <div id="block1" class="bg-red fg-white" data-toggle-element="#dropdown_toggle_1">-->
<!--            <p class="p-10 text-center">In Metro UI you can transform any element to dropdown.</p>-->
<!--        </div>-->
<!--    </div>-->

<!--    <div class="example">-->
<!--        <button class="button" id="dropdown_toggle_2">Drop block 2</button>-->
<!--        <div id="block2" class="bg-green fg-white" data-toggle-element="#dropdown_toggle_2">-->
<!--            <p class="p-10 text-center">In Metro UI you can transform any element to dropdown.</p>-->
<!--        </div>-->
<!--    </div>-->

    <div class="example d-flex flex-justify-content-end">
        <div class="dropdown-button">
            <button class="">Button</button>
            <ul class="d-menu" data-role="dropdown">
                <li><a href="#">
                    <span class="icon mif-codepen"></span>
                    <span class="caption">Go to Definition</span>
                    <span class="hotkey">Ctrl+F12</span>
                </a></li>
                <li><a href="#">Go to Type Definition</a></li>
                <li class="disabled"><a href="#">
                    <span class="caption">Go to Type Implementation</span>
                    <span class="hotkey">Ctrl+F12</span></a></li>
                <li><a href="#">Go to References<span class="hotkey">Alt+Shift+F12</span></a></li>
                <li>
                    <a href="#" class="dropdown-toggle">Peek</a>
                    <ul class="d-menu" data-role="dropdown">
                        <li><a href="#"><span class="caption">Find All References</span></a></li>
                        <li><a href="#"><span class="caption">Find All Implementations</span></a></li>
                        <li><a href="#"><span class="caption">Show Call Hierarchy</span></a></li>
                    </ul>
                </li>
                <li class="divider"></li>
                <li><a href="#">Find All References</a></li>
                <li><a href="#">Find All Implementations</a></li>
                <li><a href="#">Show Call Hierarchy</a></li>
            </ul>
        </div>
    </div>
</div>

<script src="../lib/metro.js"></script>
<script>
    // $(function(){
    //     $("#block1").dropdown();
    //     $("#block2").dropdown();
    // })
</script>
</body>
</html>
